ServerEvents.recipes(event => {
    const create = event.recipes.create;

    //魔改转化桌
    //magic change transmutation_table
    create.mechanical_crafting('projecte:transmutation_table',
        [
            "AAABBBAAA",
            "ABBCCCBBA",
            "ABCCDCCBA",
            "BCCDDDCCB",
            "BCDDEDDCB",
            "BCCDDDCCB",
            "ABCCDCCBA",
            "ABBCCCBBA",
            "AAABBBAAA"
        ],
        {
            A:'avaritia:infinity_catalyst',
            B:'avaritia:crystal_matrix',
            C:'avaritia:infinity_ingot',
            D:'avaritia:infinity',
            E:'projecte:philosophers_stone'
        }
    ).id('zhuanhuazhuomogai')
    //移除原版转化桌
    //remove original transmutation_table
    event.remove({id: 'projecte:transmutation_table'});
    //移除黑、红物质套
    //remove  black/red armor
    const items = [
        'projecte:dm_helmet', 'projecte:dm_chestplate', 'projecte:dm_leggings', 'projecte:dm_boots',
        'projecte:dm_sword', 'projecte:dm_pickaxe', 'projecte:dm_shovel', 'projecte:dm_axe', 'projecte:dm_hoe',
        'projecte:dm_shears', 'projecte:rm_helmet', 'projecte:rm_chestplate', 'projecte:rm_leggings',
        'projecte:rm_boots', 'projecte:rm_sword', 'projecte:rm_pickaxe', 'projecte:rm_shovel', 'projecte:rm_axe',
        'projecte:rm_hoe', 'projecte:rm_shears', 'projecte:dm_hammer', 'projecte:rm_hammer', 'projecte:rm_katar',
        'projecte:rm_morning_star', 'projecte:dm_furnace', 'projecte:rm_furnace', 'projecte:gem_helmet',
        'projecte:gem_chestplate', 'projecte:gem_leggings', 'projecte:gem_boots'
    ];
    
    items.forEach(item => {
        event.remove({output: item});
    });
})